package pers.mobian.springfirst.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import pers.mobian.springfirst.factorybean.MoBian;
import pers.mobian.springfirst.firstTest.User;

/**
 * @Date 2021/6/27 12:21
 * @Created mobian
 * @Description
 */
//@Configuration
@ComponentScan("pers.mobian.springfirst.factorybean")
public class AppConfig {

//	@Bean(name = "user2")
//	public User getUser(){
//
//		User user = new User();
//		user.setAge(55);
//		user.setName("mobianPan");
//		return  user;
//	}

//	@Bean
//	public MoBian moBian(){
//		return  new MoBian();
//	}
//

}
